package com.company.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.common.exception.BusinessException;
import com.company.project.entity.BusiUrgentEntity;

/**
 * 紧急任务
 *
 * @author zhanggm
 * @email *****@mail.com
 * @date 2021-06-15 09:54:41
 */
public interface BusiUrgentService extends IService<BusiUrgentEntity> {
    /**
     * 新建紧急任务
     * @param busiUrgentEntity
     * @throws BusinessException
     */
    void wholeAdd(BusiUrgentEntity busiUrgentEntity) throws BusinessException;

    /**
     * 紧急任务处理
     *
     * @param busiUrgentEntity
     * @throws BusinessException
     */
    void wholeDeal(BusiUrgentEntity busiUrgentEntity) throws BusinessException;
}

